SCPI and IEEE488.2 Common Commands

*CLS

Clears all event registers including the status byte, event status, and error queue.

Command

*CLS

*ESE

Sets the event status enable register that is counted by the event summary bit (ESB) of the status byte.

Command

*ESE <NR1>

*ESE?

Parameter

Value: 0 to 255
A SCPI error (-222, "Data out of range") occurs if outside the range.

(Example) When *ESE 16 is transmitted, bit 4 of the event status enable register is set. Each time the execution error bit (bit 4) of the event status register is set, the summary bit (ESB) of the status byte is set.

Response

Returns the value of the event status enable register in the <NR1> form in response to *ESE?.

*ESR

Queries the event status register. This register is cleared when it is read.

Command

*ESR?

Response

Returns the value of the event status register in the NR1 form in response to *ESR? and clears the register.

*IDN

Queries the model name and firmware version of the KFM2150.

Command

*IDN?

Response

The response to *IDN? is indicated below.

(Example) For KFM2151, serial number: AB123456, and ROM version 1.00
Returns KIKUSUI,KFM2151,AB123456,1.00.

NOTE

When using a compound command in which multiple commands are concatenated, include *IDN? as the last message unit. Otherwise, An SCPI error (-440, "Query UNTERMINATED after indefinite response") occurs.

*OPC

The KFM2151 does not support asynchronous I/O operation.

When the *OPC command is transmitted, the Operation Complete bit (bit 0) of the standard event status register is set.

See section 12.5.3 in IEEE 488.2-1992

Command

*OPC

*OPC?

Response

Returns 1 in the output queue in response to *OPC?.

*RST

Resets the device to factory default settings. For the commands that are affected, see Table 3.

Command

*RST

*SRE

Sets the service request enable register.

The service request enable register is used to select the summary messages in the status byte register that will be able to perform service requests.

To clear the service request enable register, send *SRE 0. If the register is cleared, service requests cannot be generated by status information.

Command

*SRE <NR1>

*SRE?

Parameter

Value: 0 to 255  
  A SCPI error (-222, "Data out of range") occurs if outside the range.

(Example) Sending *SRE 8 sets bit 3 of the service request enable register. Each time the summary bit (bit 3) of the QUEStionable status register in the status byte is set, a service request message is generated.

Response

Returns the value of the service request enable register in the <NR1> form in response to *SRE?.

*STB

Queries the contents of the status byte register and the MSS (master summary status) message.

The response is the same as serial poll only with the exception that the MSS message appears in place of the RQS message in bit 6.

Command

*STB?

Response

Returns the value of the status byte register and the MSS message (bit 6) in NR1 form in response to *STB?.

*TRG

Because there is no trigger function built into the KFM2151, *TRG results in a command error.

Command

*TRG

*TST

Since there is no self-test function built into the KFM2151, zero is always returned in response to this query.

Command

TST?

Response

Returns 0 in response to *TST?.

*WAI

Prevents the KFM2151 from executing subsequent commands until all operations in standby are complete.

Command

*WAI